huffman step finally works after another asm->C conversion