change: pairwise weight matrix