protected void clearTemps_and_EdgesFromNodes(){
  int curSize=m_nodes.size();
  for (int i=origNodesSize; i < curSize; i++) {
    m_nodes.remove(origNodesSize);
  }
  for (int j=0; j < m_nodes.size(); j++) {
    m_nodes.get(j).edges=null;
  }
  nodeLevels=null;
}

protected void clearTemps_and_EdgesFromNodes ( ) { int curSize = m_nodes . size ( ) ; for ( int i = origNodesSize ; i < curSize ; i ++ ) { m_nodes . remove ( origNodesSize ) ; } for ( int j = 0 ; j < m_nodes . size ( ) ; j ++ ) { m_nodes . get ( j ) . edges = null ; } nodeLevels = null ; }
this method removes the temporary nodes that were added to fill in the gaps , and removes all edges from all nodes in their edges [ ] [ ] array
