numtiles variant