Create shared constraints to use accross multiple function calls