generating tiled quad