SEM with constrains