Useful utility function no doubt, but it seems like it's really only useful in the context of the greedyMesher on the worker thread (or, at the absolute max, on the worker thread itself). Having it project-global like this just seems silly.