sqrtx, divide and conquer