Scientists play 'geological genealogy'