For the B deme, the population size remained at 2995 until 6674.1 generations ago, at which point a linear growth took place until 5997.72 generations for size 6631. Afterward, the population saw an linear change to 4349 by 730.69. From 730.69 generations ago to today, there's been a linear increase from 4349 to 6136.
time_units: generations
demes:
  - name: B
    start_time: .inf
    epochs:
      - start_size: 2995
        end_time: 6674.1
      - start_size: 2995
        end_size: 6631
        end_time: 5997.72
        size_function: linear
      - start_size: 6631
        end_time: 730.69
        end_size: 4349
        size_function: linear
      - end_time: 0
        start_size: 4349
        end_size: 6136
        size_function: linear