CCD enabled to prevent slope ghosting