PAM algorythm - adding motion vectors