PD2i Algorithm