Preclusion Time estimation code