use FFT to compute smoothed density