vec: add with_capacity