That would be because of
https://github.com/mozart/mozart2/blob/master/vm/vm/main/smallint.hh#L78
and other occurrences of `SmallInt::build(vm, 0)` in that file.
These should really be changed into raising an "overflow" exception or something.