Dynamic change in the size of the procedural mesh

Dynamic change in the size of the procedural mesh.

I need to change the size of the procedural mesh dynamically.
If you change the size of such a mesh as a regular static mesh, the texture disappears.

I tried to change the size by overwriting the coordinates of points in the procedural mesh (if you need to increase the mesh, then increase the distance between points)

But there was a problem: if you use the second option, the number of frames per second starts to fall at more than 900 points in the mesh.

Question: what other ways can I try to change the size of the procedural mesh for each tick (for example, from an event tick) without losing FPS?

I provided the drawings so that you have a rough idea of what I’m talking about.