Updated pam_2 clustering.