fix packet header size constraints