simplify huffman groups