minimum steiner tree alg. completed on step4