analyzer.huffman_codeword_lengths with more options, and uses my huffman
lib
new variant for mtf mean steps takes underlying symbol into account