Fixed cost/gain functions
Count different messages in nodes
Make sure parents are not marked as disconnecting children
Minor
When receiving a CR but no BW left, try do drop a node in an unpreferred tree