Text this: Cell drop threshold architecture for multi-class shared buffer with finite memory size