Add comments for min and max region finding.