added paginator that can handle large collections and split them between pages of given length