Nucleation during molecular beam epitaxy