Assign old modes to new modes by weight.

with weight greater than change to
with weight greater than change to
with weight greater than change to
with weight greater than change to
with weight greater than change to