The map is great, it has 70 waves of monsters and 14 boss waves. But the problem is that the higher the wave number, the more terribly it lags. The map is very small, but being at the 64th wave now I'm watching a slideshow. The fact that the save file becomes bigger and bigger every time proves there's some sort of garbage overload in the memory influencing the game engine.
I started with 1-2 MB for the save file in the beginning and then ended up with 55 MB at the 64th wave! It doesn't get worse with the beginning of each wave, it does randomly whever I notice a micro lag which indicates the thing is getting slow already.
How do you think what is happening? Is there anybody who could fix it? I barely understand how the map editor works, especially when it comes to user scripts

I've tried v1.26 and v1.29 engines.
You could try it out yourself or I can share the save files in the next post if needed
Thanks in advance