Precursor to UniqueStructureFinder.py