Characterization of iron ferromagnetism by the local atomic volume: from three-dimensional structures to isolated atoms