Some embodiments of the invention provide a method of defining a global route
for a net in a region of a layout, where each net has a set of routable elements.
The method partitions the region into several rectangular sub-regions. It then
identifies a set of sub-regions that contain the routable elements of the net.
Next, it defines a global route that connects the identified sub-regions, where
the global route includes at least one non-Manhattan edge that crosses a boundary
between two sub-regions at a non-vertex location.