rearrange units in random field