Put stack-allocated objects in the right place on the stack.