Correcting indexing for numbering of triangles