Added stack & cut - stack is hard + bugs fixed