During the HTree building step of cts we can create more Clock subNets then needed, these extra Clock subNets were deleted at the end of CTS, but this can cause crashes (like it was mentioned in https://github.com/The-OpenROAD-Project/OpenROAD/pull/4938).
To prevent having to delete these nets at the end of CTS, this PR avoids creating subnets that aren't connected to anything.
During the HTree building step of cts we can create more Clock subNets then needed, these extra Clock subNets were deleted at the end of CTS, but this can cause crashes (like it was mentioned in https://github.com/The-OpenROAD-Project/OpenROAD/pull/4938).
To prevent having to delete these nets at the end of CTS, this PR avoids creating subnets that aren't connected to anything.