make the comment a bit more explanatory: "the new cluster i merged from i and j adopts the average of i and j's similarity to each other cluster"... not that I'm sure that's clear.