Fixed bug of Huffman EOS padding
Fixed bug of indexed rep decoding with index=0