======================= Temporal discretization =======================