Cleaned up TimespanManager.
Improved `is_final_segment` logic.