Experimental changes to trapezoid generator.