[DF-3002] Added calling of reserve() for vectors