Pyramid : writeTiles area maxX and maxY now exclusive.