add sum root to leaf number