binary vector, cosine similarity