Role of the Fe sublattice on the Invar anomaly in R2Fe14B compounds