sanitizing tileSize