Quickly sort the largest subsegment and huffman n