This section explains how to define the regions that are excluded from the 3D optimization or the disconnected area that is used for the 2D optimization.