add Huffman decoding procedure