effects of confinement on self-assembling systems - the case of adaptive boundaries and/or nontrivial shape of the confinement