Update stack_memory.c