just calculate i0 when needed