Rename mapValue to extendRange because that is its function now.