row lengths adjusted