Zaslat SMS: Algebraic patching