Reducing HBM to simplified geometries and restore original configuration