Hi @Baris
If all you want to do is relax a mesh by averaging vertices, it can be made even simpler
rlx.gh (6.0 KB)
This is a further condensed version of what I posted here, just playing a little code golf.
It’s a very fun topic to explore. Enjoy!