Chemical evolution of stable and collapsing interstellar clouds door