See:
Alan R. Rogers et al
https://www.biorxiv.org/content/10.1...01.23.427922v2

"Legofit is a statistical package that uses genetic data to estimate the history of population size, subdivision, and admixture. This article describes a new deterministic algorithm, which makes Legofit orders of magnitude faster and more accurate."