Best patching algorithms for weak sectors

Note: Crossposted to Daemon-Tools And CD Freaks’ Forums.

What do you guys think would be the best patching algorithm for weak sectors? The best algorithm I could figure out was to determine where the DSV could be lowered the most by flipping all the pits and lands, and then replace the byte in front of that point with the EFM value:
which is binary 00110000, or Hex 30, or decimal 48, or ASCII ‘0’…

Can anyone think of any improvements for this?