Add option to choose number of initial path