using CV_INIT_ALGORITHM is obsolete thing. We do not practice it anymore.