Removed RecurseSetDistToRoot.  Removed CLEARED_DIST_TO_ROOT - I don't know what it was for.