Fixed problem with Huffman calculating encoded values.