Replace /2 by faster >>1 as the mvd values are now all positive.