reorganize swm4box structure