So that we don't have to worry about length getting negative or underflowing. Proposed in https://github.com/numpy/numpy/pull/25558#discussion_r1447654922.