ADD: Static diff now uses already set masks, and improves on the result by ignoring already masked areas.