Get values for minimal range and fixed range from scope.

This change allows the binding of scope variables to the minimal and fixed
range.