Take out length check.

gcc is always assuming signed overflow does not occur when simplifying conditional to constant