Algorithm for peer shift.