Renamed FixDistToRoot to UpdateDistToRoot.