Finish forward algorithm. Begin backwards.