Zaslat záznam emailem: A sequential coalescent algorithm for chromosomal inversions