quantile: remove allocations