Finishes a vector element. The initial position of the vector must be passed
position at the start of the vector