Regenerate datatrees.