sum of triangles length message