finish start-gap, optimize structure
bugfix:  initialize region write count for SG and SR