function makeLevelsForCapstoneFlow () {
  const levels = new Levels(_.times(4, () => factories.makeLevel()))
  // set position, nextLevels, and first property
  let nextLevelStage = 1
  for (let [index, level] of levels.models.entries()) {
    level.set('position', { x: (index + 1) * 10, y: 20 })
    let nextLevel = {}
    if (index === 1) {
      const firstNextLevelData = levels.models[2]
      nextLevel[firstNextLevelData.get('original')] = {
        original: firstNextLevelData.get('original'),
        name: firstNextLevelData.get('name'),
        slug: firstNextLevelData.get('slug'),
        conditions: {
          afterCapstoneStage: 1
        }
      }
      const secondNextLevelData = levels.models[3]
      nextLevel[secondNextLevelData.get('original')] = {
        original: secondNextLevelData.get('original'),
        name: secondNextLevelData.get('name'),
        slug: secondNextLevelData.get('slug'),
        conditions: {
          afterCapstoneStage: 2
        }
      }
      level.set('isPlayedInStages', true)
    } else {
      const nextLevelData = levels.models[1]
      nextLevel[nextLevelData.get('original')] = {
        original: nextLevelData.get('original'),
        name: nextLevelData.get('name'),
        slug: nextLevelData.get('slug'),
        nextLevelStage: nextLevelStage
      }
      nextLevelStage++
    }
    level.set('nextLevels', nextLevel)
    if (index === 0) {
      level.set('first', true)
    }
  }
  return levels.models
}
creates 4 levels with second level as the level played in stages
the next levels store the information about capstone stage