Added iterator version of into_vector