add Huffman tree