Further improvements to speed and robustness of BuildRegion