performance fix in treeShakeUnusedDClosures()
hopefully convergence is fast enough