New algorithm for diffuse using Levenshtein Distance