pruning bad shore nodes.