find partitioning for each timestep