parallel huffman coding