Li Meng: generate blocks