Flexible interpolated-binary search over sorted sets