improve huffman decoding performance
improve performance