Time smearing simulation code