consecstat function

Consecute timestep periods