Added agglomerateTriangles