fixed up allocate papers and checkdeadlines now runs algo if need be