Put out some temporary mesh optimisation, still have to rework most of it with new algorithm