trapezoid sloped bounding areas not working properly