Fixed a bug in creating charm SMP node-aware spanning tree. The bug is that