fixed bug, now returns the correct rerooted tree (and not the first
one)!