add the kernel density estimation feature