fix bug in getIntervalLength when scale's domain got very small