use vec_alloc rather than new