Switch to a larger data type in for loop so we don't overflow