Trimmed the packet buffer