Add enableGen
Added dcg size