Calculate the sample time when completing rather than before