produce availableTiles out of loop