could you special case it so that if `extent === 0` it just sets domain to `newDomain = [currentDomain[0] - 1, currentDomain[0] + 1]` and returns? this way it is always constant size regardless of pad proportion. also, code as written would still break if `currentDomain[0] === currentDomain[1] === 0`