change algorithm isbacteria