public boolean contains(int[] cycle, int size, Main m){
  
    boolean result = false;
    
    for(int i=0; i<cycle.length; i++){
    
      if(graphNodes.get(cycle[i]).getType()==_MOLECULE_){
      
        if( m.getLibrary().get( graphNodes.get(cycle[i]).getID() ).getNumNodes() > size*10 ){
          
          result = true;
        
        }
      
      }
    
    }
    return result;
  
  }