Integer overflow fixed.