limit parameters in context to possible values of corresponding variables