Refining smoothing algo. Introducing Laplacian corrections for structural features.