Minimum cost mother tree