tree as root
bug fixed
bug with bodies on edges fixed