Ab initio study of helium dimer