Cython rectangle example using xdress generation