triangulation and removing vertexes