binary search
merged