Regulation of chromatin structure in genome stability