Nicer vector initialization

We don't have iota, but at least this look nicer than the previous code.