Tuning of search algorithm