Cumulative Sum Algorithms Based On Nonparametric Kernel Density Estimators