Best Matching Search Algorithm