Can anyone give some pointer? Thanks!
The maximum integer that you can reliably add 1 to and not get the same value back due to a loss of precision is
Number.MAX_SAFE_INTEGER, which is 9,007,199,254,740,991. That is,
9007199254740991 + 1 is
9007199254740992 + 1 is also
9007199254740992. There are much larger integers that can be held (see above), but the gaps between them grow as the value increases.