adding boundary of the cross section