rooted tree and ladderized