correct weight for cossim