add halo model code for CIB.