Implement packing for compressive_storage