before: 30[2]{20[1]{10[0],.},.}
after : 20[1]{10[0],30[0]}
