Clip output to make trapezoids