Extrapolating the correlation energy