update spl-stack.c