Use stack values instead of heap values for out pointers