use all items of user a and b to caculate the similarity.