Migrate BestFitPlane and BestFitLine