Add percentile handling.
WIP: overlap density weighting.