Add binary search of the function root