Added Plaisted-Greenbaum algorithm