Working on vectors with fill-pointers