Island generation and multithreaded greedy meshing