Added processing even-legged triangles.