cal.calculate();
// CanonicalHuffmanIntegerCodec helper = new
// CanonicalHuffmanIntegerCodec(
// cal.values(), cal.bitLens());
Helper helper = new Helper(cal.values(), cal.bitLens());
long time6 = System.nanoTime();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
DefaultBitOutputStream bos = new DefaultBitOutputStream(baos);