Updated Integer Owerflow check