VB commonly used algorithm Daquan (PDG)