Subcircuit constraint and bug fixes

New constraint subcircuit.