added sequential percentile estimation