Add a linear Huffman tree building method, if the symbol list is ordered by weight