bugfix: triangles skipped in triangulation