search insert position, divide and conquer