group build parent tree