made selection of best path in population