Reduced minor `prune` bottleneck in `network`, now bound by `np.in1d`