parallelize calls to optical flow