Alteration of bacterial cell activity results in element composition change