squared error as requested by TrapezoidalStripTopology