The problem is not expanding the boundaries, the problem is the use of maxint. Using appropriate values to integer fields does not cause a problem. Big integer fields should accept 64bits values, database included.