An improved algorithm exploiting the characteristics of a distance-based preference function to converge to preferred solutions