Algebraic patching.