tries for huffman code