Sped up percentile calculation by about a factor of 5 or so