Solved a bug that outgo buffer is allocated in a heap

-Solved a bug that outgo buffer is allocated in a heap
This gonna speedup in many aspects. Might even solve every problems.