public static void verify() throws IOException{
		System.out.println("Begin testing points");
		Iterator<Long> iter = tOfPoint.keySet().iterator();
		int lineid = 1;
		while(iter.hasNext()){
			Long key = iter.next();
			long[] tmp = tOfPoint.get(key);
			long pos = tmp[0], len = tmp[1];
			byte[] data = new byte[(int)len];
			rafPoint.seek(pos);
			rafPoint.read(data);
			DataOfPoint dataOfPoint = new DataOfPoint(data);
			if(dataOfPoint.getPointId() != key){
				System.out.println("Error:\t" + key + ", " + dataOfPoint.getPointId());
			}
			System.out.print(dataOfPoint.p.getW());
			if(lineid % 999 == 0)System.out.print(".");
			if(lineid % 99999 == 0)System.out.println("");
			lineid ++;
		}
		lineid = 1;
		System.out.println("Begin testing lines");
		iter = tOfLine.keySet().iterator();
		while(iter.hasNext()){
			Long key = iter.next();
			long[] tmp = tOfLine.get(key);
			long pos = tmp[0], len = tmp[1];
			byte[] data = new byte[(int)len];
			rafLine.seek(pos);
			rafLine.read(data);
			DataOfLine dataOfLine = new DataOfLine(data);
			if(dataOfLine.getLineId() != key){
				System.out.println("Error:\t" + key + ", " + dataOfLine.getLineId());
			}
			if(lineid % 999 == 0)System.out.print(".");
			if(lineid % 99999 == 0)System.out.println("");
			lineid ++;
		}
		rafPoint.close();
		rafLine.close();
	}