Refactored stacks to come from one big stack.