Added max height + width for arrays