Compensating capacitor