scala assn Huffman trees built