Improve handling of the case length > INT_MAX.