Rectangle added; changes in ArraySumMax