Buffer allocation for frame reassembly and queueing in ATM networks