Replace explicit vector assignment with initializer lists