Fixed generations of secondairy boundaries in case of multidimensional