move global stk into atl__env->stk