Fixed a compile issue in SupportLib.
Made DistToRootCalculator stateless and removed AddFromChanged.