pagetrust algorithm written in http://perso.uclouvain.be/paul.vandooren/publications/deKerchoveV08b.pdf