improve hyper cube topology control and fix bugs in handling source dead/add events