index oriented binary search alt