infer_stack
