rebuild structure