Make support material generation idempotent