RFC: findInterval(x,vec)