On top of this, limit the range of getnumber to 0x00ffffff to make sure that adding two of them does not cause an integer overflow.