added gc step to MOAISim