vectors: handle wrapper preallocation