New halo integrate in old code