Fixed dwell caluclations.