code: private static final Atom[] getAllNonHAtomArray(Atom[] m, int minSizeHetAtomToInclude) {
  		List<Atom> atoms = new ArrayList<>();
  
  		for (Atom a:m){
  
  			if (a.getElement()==Element.H) continue;
  
  			Group g = a.getGroup();
  			if (g.getType().equals(GroupType.HETATM) &&
  				!isInChain(g) &&
  				getSizeNoH(g)<minSizeHetAtomToInclude) {
  				continue;
  			}
  
  			atoms.add(a);
  
  		}
  		return atoms.toArray(new Atom[atoms.size()]);
  	}
docs: Returns and array of all non-Hydrogen atoms in the given molecule, including all
  main chain HETATOM groups. Non main-chain HETATOM groups with fewer than minSizeHetAtomToInclude
  non-Hydrogen atoms are not included.
  @param m
  @param minSizeHetAtomToInclude HETATOM groups (non main-chain) with fewer number of
  non-Hydrogen atoms are not included
  @return