delete unimportant constraints