remove constants from constraints