use 2 times std to intialize pairwise weights