throws an error if stack if already full