Add early line length check.