Fix bug in vectorizing allocation.

We weren't actually inserting the new dimension.