Fixed a little bug in constructing a fixed huffman tree