Constraint system in STWO