Added TriangleMinSize variable