Basins of attraction in cellular automata