the MGO and the motion vectors are caculated