For out parameter in multiply (to prevent possible memory leaks)