Volume-weighted energy densities as a function of redshift in the simulation ga2_bx18 inside the halo and within the IGM. The magnetic energy density (black line) gets amplified during the phase of halo formation until it reaches equipartition with the other energy densities, particularly the turbulent energy density (blue line).