handle smallest number edge case for percentile rank