Gene provides insights for adapting wheat