aggregation should calculate percentile metrics within rank bounds