Add stack amount check