Create using bisection search to make the program faster