scaling of Inf values fixed.