Implemented Calculate Max Settings