control the data size for the packet with fixed header