A system to reduce the effect of CCDs saturation