The deme of X kept its population at 8991 until 6736.12 generations ago, when a exponential decrease ensued until 6539.49, to size 501. Subsequently, a linear change changed the numbers to 1034 individuals by 250.3724. Starting from 250.3724, the population has seen a growth from 1034 to 4920 at a linear pace, continuing to this day.
time_units: generations
demes:
  - name: X
    start_time: .inf
    epochs:
      - start_size: 8991
        end_time: 6736.12
      - start_size: 8991
        end_size: 501
        end_time: 6539.49
        size_function: exponential
      - start_size: 501
        end_time: 250.3724
        end_size: 1034
        size_function: linear
      - end_time: 0
        start_size: 1034
        end_size: 4920
        size_function: linear