re-structuring the packet