Tuning the growth mode of nanowires via the interaction among seeds, substrates and beam fluxes