add possibility to configure motion estimation method