Triangulate if needed