Refactoring
Add to_maxint()