Change find algorithm.