Optimization pass #1: replace all usage of 'createVehicle'  with 'createVehicle array'