Correction: array changes can now grow dynamically.
Improved code through more constness.