By adding the number of the atoms in atdiscard[] they are deleted from the input file