union and intersection operation cache for constraints