Optimized memory usage of the Packets