Replace the stack with a cheaper version