binary search on IndexedSeq