Added validation of enough stack to cover raise.