generate all vectors and get AVG