Improved smoothing. Possibility to give parameters to post-processings.