added checks to databasegenerator since long c-axis structres break the symmetry finder