added exceptions for numbers larger than the maximum supported order of magnitude