Change midpoints to periods.