inaccuracy in time slice calculation