add binary search function
add specific binary search for the 1st col
major obj function