Finished the constraints