Search local minimum by using binary search algorithm.