Combined makevector and cachemean