Put the constraint to the IF blk