Adding similarity via euclidean distance