Simulations of microstructure coupling with moving molten pool by selective laser melting using a cellular automaton