combinations. Regardless of the chain order, we find the same result as for not connected chains. This indicates that connectivity plays a minor role and always the longer segments are pushed to the periphery.

![(color online) The potential energy contributions of bonded interactions. (a) bond angle and (b) FENE potentials. The bond angle energy plot represents the extra-stiff segment energy changes and the FENE energy plot shows the changes in the energy of the flexible bond between the segments. The plots show the stepwise increasing degree of confinement. Reorganization and segregation of the chains decrease the bonded potential energy contribution to the total energy. The radii of the confining sphere ($R$) for each plateau are represented in (b).[]{data-label="fig:energy_"}](fig3.pdf){width=".48\textwidth"}

The energy contribution of each potential term, Fig. \[fig:energy\_\], shows that by increasing the degree of confinement, each of the bonded interaction contributions (FENE and bond angle) is decreased and all the non-bonded energy contributions (LJ) are increased (not presented). The increase of non-bonded potential is clear as by increasing the degree of confinement, on average the particles become closer ( the system behaves like molecules of gas with high density so the non-bonded energy loosely depends on the conformation of the 