Improve laplace smoothing