make quantile_search interface a bit nicer