removing pixel inefficiencies and noise from the simulation