Max size arrays adapted