half sheet generation part is revised.