generate it iteratively, AC