extended-path: fixing bug when options_.initial_period is NaN