Building under water -> memory overflow

I noticed, that i get a memory overflow, if my heartling try to build framework under water, my memory jump really fast to max and the game crash.

8GB RAM, Win10 64bit, Stoneheart in 64bit mod

Here the save, its just 20sec before they start to build the framework under water. (5.4 MB)

Something for @albert maybe?

@RedEyeEagle - Thanks for the save! I can take a look after I fix a threading problem that’s been consuming me recently.