The age dependence of the size–stellar mass relation and some implications