message: BUG: Fix node count check in StableGraph deserialization
  We need to check this after inserting the holes, not before.
diff: @@ -169,10 +169,6 @@ impl<'a, N, E, Ty, Ix> FromDeserialized for StableGraph<N, E, Ty, Ix>
  let mut nodes = input.nodes;
  let node_holes = input.node_holes;
  let edges = input.edges;
  - if nodes.len() >= <Ix as IndexType>::max().index() {
  - Err(invalid_length_err::<Ix, _>("node", nodes.len()))?
  - }
  -
  if edges.len() >= <Ix as IndexType>::max().index() {
  Err(invalid_length_err::<Ix, _>("edge", edges.len()))?
  }
  @@ -187,6 +183,10 @@ impl<'a, N, E, Ty, Ix> FromDeserialized for StableGraph<N, E, Ty, Ix>
  });
  }
  + if nodes.len() >= <Ix as IndexType>::max().index() {
  + Err(invalid_length_err::<Ix, _>("node", nodes.len()))?
  + }
  +
  let node_bound = nodes.len();
  let mut sgr = StableGraph {
  g: Graph {
  