Vectors from boxes to similarity