// TODO: This ignores the first element of the stack, but that is kind of difficult to deal with.
write_terms.reserve(rhs_stack.stack_size - 1); // We already reserved space for the result.
InnermostStack::add_result(write_configs, symbol.copy(), *arity, top_of_stack + offset - 1);