In one step, the two elements interchange positions and the smaller element gets enlarged while the larger element gets reduced in size. In the next step, the smaller element is replaced by a new small element and the larger element is replaced by a new large element.