Implementing redistribution of atoms.