Use an even number for the 'SAD_WINDOW_SIZE' as we are dividing it by 2.