Huffman table from segment contents