length could be less or equal (if task window is at the same end of document)
Merge remote-tracking branch 'origin/master'