public void consolodatex()
	{
		for(int i=0;i<xs.length-1;i++)
			if(((xs[i]&NEXT_FLAG)==0)
			&&(xs[i]+1==(xs[i+1]&NEXT_BITS)))
			{
				if((xs[i+1]&NEXT_FLAG)>0)
				{
					if((i>0)&&((xs[i-1]&NEXT_FLAG)>0))
					{
						shrinkarrayx(i,2);
						return;
					}
					shrinkarrayx(i,1);
					xs[i]=((xs[i]&NEXT_BITS)-1)|NEXT_FLAG;
					return;
				}
				if((i>0)&&((xs[i-1]&NEXT_FLAG)>0))
				{
					shrinkarrayx(i+1,1);
					xs[i]++;
					return;
				}
				xs[i]=xs[i]|NEXT_FLAG;
				return;
			}
	}