added clustering constraints