Handle arithmetic exception for overlow

I am convinced that its cleaner way to handle it :+1: