Are these PDFs or other types of documents?
The plugin already does look at the first 10 and last 5 pages of PDFs (and the entire document for any other format).
The only thing that is different that you are asking for is for the last x pages check to work backwards. The question is why - what would you hope to achieve? It certainly wouldn't gain much speed in PDFs.