Huffman tree and codings