add constraints hash