Impact of an integrated core/SOL description on the R and BT optimization of tokamak fusion reactors. (21st November 2017)