Tree with values based on parent's siblings