Made adjustments to the constraints