Average size of the 2-Selmer group of Jacobians of monic even hyperelliptic curves