Greedy meshing working