In a haystack-type representation of a heterogeneous population that is evolving according to a payoff structure of a prisoner's dilemma game, migration is modeled as a process of swapping individuals between heterogeneous groups of constant size after a random allocation fills the haystacks,...