added ordered set from recipe and uniquefied constraints