Rebuild the structure