added set_str_algo in parameters to set the algorithm with a string argument, e.g. easier from python bindings