This step generates two vectors where each dimension is comparable between the two vectors.
the cosine between such vectors can be estimated in order to -indirectly-estimate how similar d q and d ′ are.