<= vs ==

when adding a stack, you can go past the level you need; when you are
not equal, it wouldn't terminate.