Changed data structure from giant static array of ints to a vector