Initial solution creation.