Stabilized Partitioning of Metapopulations Networks