improve graph precision to be accurate with small values