Change C seed array functions so if too few seeds are provided, last seed is used again.