How does the domain affect the range in a function?