private static LongHistogram CompressedEncodeDecode(LongHistogram source)
 {
     var targetBuffer = ByteBuffer.Allocate(source.GetNeededByteBufferCapacity());
     source.EncodeIntoCompressedByteBuffer(targetBuffer);
     targetBuffer.Position = 0;
     return (LongHistogram)HistogramEncoding.DecodeFromCompressedByteBuffer(targetBuffer, 0);
 }