add recursive max/min sum