initializeHuffmanTables
private fn
void initializeHuffmanTables(ref ubyte[][] lengths,
const(uint)[] mtfFreqs,
int nGroups,
int alphaSize,
int nMTF) pure nothrowInitialize Huffman table code lengths based on symbol frequency partitioning.
Creates an initial assignment where each table is responsible for a contiguous range of symbols. Symbols within the table's range get BZ_LESSER_ICOST, symbols outside get BZ_GREATER_ICOST.