changed initial max value to negative double max