Cannot collect variables with index not starting from 1 in a vector

Yes, I can tell that. But it is weird to me that y2 and y3 are in different type just because the way I define their index.