more timing lines, fix repartition code