Issues with millis timing with a button press as well as seven segment display

int segAtoGpinout [7] = {5,4,3,2,7,13,8}; seven elements

Eight iterations and a 7 element array ?