add support for trapezoid shape