ren_algorithm
