Dynamic fetcfetching of max value and rounding of needle value