stack without memcpy updated