improve symmetry of setAIWin and setAILose
store memory limit in variable