Handling sheets of differing lengths