Consistency of nearest neighbor estimator of density function for m-END samples