commiting with stack without memcpy