I cheated and ran through it once without an array...
# advent-of-code
d
I cheated and ran through it once without an array to get the bounds. And then I set up my arrays from the minimums at maximums.