fixes for cv::accumulate**