Simplify the triangle basis.