Fixed problen with wide range of data.