age and pins are classified, and because it is thus considered that an illegality such as detouring is caused if the route of a wiring passing only a Delaunay triangle containing pins lower than a level k+1 assumes a route passing a Delaunay triangle containing pins higher than a level (k+n???1), where k and n is an integer, when the connection is made in the shortest route.