Stable Dynamics of Sand Automata