There was an error in computing the number of samples per bin when
starting with a first period that is bigger than the base period.