tiny speedup for BestMatch._find_matches