An implantable cardioverterdefibrillator includes an Anti-Tachycardia Pacing Before Charge mode according to which one or more high-voltage capacitors for storing defibrillation energy are charged in preparation of delivering a defibrillation shock only if a ventricular tachycardia sustains after an ATP delivery. Said grid has a length L1, along the axis of said segment, and includes multiple meshes, each of which fits into a square with side m, the following relationships being satisfied: L1>1. The first polymeric material defines a first phase of the injection material and the second polymeric material defines a second phase of the injection material. To generate an appropriate control signal, AC or DC impedances of the MEMS switch are detected and used to configure the control signal to drive the switch. A DC bias is applied to a charging member in the charge eliminating operation area of an image bearing member where the charge eliminating device makes charge eliminating operation; and based on the values of an electric current passing through the image bearing member on that occasion, a DC bias application is switched between by constant-current-control and by constant-voltage-control.