reserve memory for vectors