Please look at this page for how to add code to the forums more nicely: Using code tags properly
You could modify wheelShape to be an array … then drag your different wheel (shapes) into the array, so the indexes match the wheel positions. Then, it should add the ones you want, where you want.
I think var wheel = wheels[i];
is not showing up because of the missing code tags, i was going to say that doesn’t look right, otherwise.