B
C

Cross the midpoint and it swaps places with its neighbor