speed up the best correlation window vi