A numerical analysis of dendritic and cellular array growth: the spacing adjustment mechanisms