m_parent and and m_rank should be maybe initialized here as well?