moved SurfaceAlgorithm inheritance to CadInterface