allow moving stack to external memory.