algorithm.doc minor update