Create str_algorithm