added TriangleMinSum