Changed range to length. Change cyclic change model.