smoothing function fix

then wait little bit for aligning vertexes function