Added support for the sum og global and local motion vector