Better integration of kernel density methods