Heterogeneous preferential mixing between subpopulations