refactor RandomSolution in InitialSolution