finished find_lowest_match