Improve dx memory usage when dealing with lots of basic blocks.