Genetic basis of the evolution of adaptedness in plants