improving nexus tree parsing