adding C packing kernels and logic for aggregate messaging