public void clipLongStreets()
	{
		@SuppressWarnings("unchecked")
		final
		Vector<LayoutNode> set2=(Vector<LayoutNode>)set().clone();
		for (final LayoutNode p : set2)
		{
			if(isUsed(p) && p.isStreetLike())
				for(int d=0;d<4;d++)
					if(p.getLink(d)==null)
					{
						final LayoutNode p2 =getNextNode(p, d);
						if((p2!=null)
						&&(!p.links().containsValue(p2)))
						{
							final Enumeration<LayoutNode> nodes=p.links().elements();
							final LayoutNode p_1=nodes.nextElement();
							final LayoutNode p_2=nodes.nextElement();
							p.deLink();
							p_1.crossLink(p_2);
							unUse(p);
							final LayoutNode p3 = makeNextNode(p2, Directions.getOpDirectionCode(d));
							p2.crossLink(p3);
							use(p3, LayoutTypes.leaf);
							break;
						}
					}
		}
	}