Bug fixing search algorithm