update for zero duration segment. fixes #172