This can be changed to `activeArray.fill(0)`