split stack into call_stack and stack for values