searchInsertPosition simple loop way