clean up packet partitioning hide packet packing behind packet module interface