Work from the algorithm design manual.