start kernel density estimation, fix density on histograms