Nice one using bisection search