simplify packet_entities layout