weighted percentile interpolation