Added GetMasterNode in Tree