added snk_arenaSizeX to while loop