Finish Huffman tree