Diffusion-assisted growth of periodic patterns on metal surfaces