Additive effectiveness and contaminant influence on fluid-loss control in water-based muds