Improve the speed of first search