Don't aggregate large data sets in memory

In case of large data set (more than 10K data points) it makes
more sense to use sorted search of Tth element:

    T = N * P - 1

where:
    P - target percentile (a number from 0.00 to 1.00).
    N - number of point in large data set.