Adjust ranges