Add missing semicolons
When removing a node from the weighting tree, reset the weights of its siblings