Boundaryconstruction function

Boundaryconstruction