Building the merger tree of halos, based on the output of PINOCCHIO (http://adlibitum.oats.inaf.it/monaco/Homepage/Pinocchio/), along with some crappy schemes about star formation and BH accretion, based on 2011ApJ...734...92J.