compute w3 = w1
