overlay is decreased

void ThreeDim_LevelSet::outerwall(Raw &phi,Raw &g,double lambda,double
mu,double alfa,float epsilon,int timestep,int iter,char
*potentialFunction)
{

this->initialg(g);
Raw pull=outwallpull(phi);
this->initialg(pull);
for (int i=0; i < 5; i++)
{
if (i==0)
{
phi =
this->minimal_surface(phi,pull+g,lambda,mu,2*alfa,epsilon,timestep,10,potentialFunction)+\

this->minimal_surface(phi,g,lambda,mu,-alfa,epsilon,timestep,1,potentialFunction);

}
else
phi =
this->minimal_surface(phi,g,lambda,mu,2*alfa,epsilon,timestep,8,potentialFunction)+\

this->minimal_surface(phi*2,g,lambda,mu,-alfa,epsilon,timestep,1,potentialFunction);
cout << "outer wall iter = " << i <<endl;
}

}