Use the stack for temporary memory buffers.