Half of the Huffman exercise