Implement bit field packing under 64 bits