Refactor most of coro_allocate into grow_stack