add bisection line search