Return an error object if the rest of stack size is small.
issue #9