Descendants and ascendants in binary trees