fix Huffman table build non-determinism