In the weighted quantile sketch, the rank function r is computed as the percentile of weight sums (which is the sum of hession values). If the sum of hessions is not monotone, i