convolve to smoooth added to montecarlo