Min and max is calculated now