Change resize to reserve. Fix travis.

std::vector.reserve() already checks to see if it has to grow.