nth on vectors