Use a proper stack offset for writing intermediate results to the stack.