addeding VoxelPacket class for encoding bit streams