Short and long-term genome stability analysis of prokaryotic genomes