Generating distance field mesh

Would be nice for this to be optimized a bit (especially the memory usage).

This takes a very very long time to build and it seems every time i make a change to my landscape it decides to rebuild.

landscape is 16KM x 16KM (4 8x8 landscapes) and one small change and this happens all over again

computer isn’t a slough

i7-4790k @4.9Ghz, 980ti @ 1536mhz, 32gb 2400Mhz ddr3, 1tb ssd(project drive)