unify triangles