Added maxLength to LoadSolver().