added constraints to mtz