fixed 99th percentile calculation