Max an min done. All arithmetics done now.