SMS: Quantified constraints: Algorithms and complexity