Huffman peak loop