Set MAX_NUMBER_OF_TILES to 10000.