Fix stack depth

The previous change used COMPUTE_MAXS, now we
ensure the proper stack size so stack depth
analysis can be avoided (it infinite loops on some
of the ask .j files.)
Add kilim.State#save method