add feature constraint