Reconstruct the code structure