private int findSize(int type) {
		int size = 1;
		int edgeCount;
		if (type % 2 == 0) {
			edgeCount = 3;
		} else {
			edgeCount = 4;
		}
		size += edgeCount;
		if ((type / 2) % 2 == 1)
			size += 1; /* Material */
		if ((type / 4) % 2 == 1)
			size += 1; /* Face UV */
		if ((type / 8) % 2 == 1)
			size += edgeCount; /* Face Vertex UV */
		if ((type / 16) % 2 == 1)
			size += 1; /* Face normal */
		if ((type / 32) % 2 == 1)
			size += edgeCount; /* Face vertex normal */
		if ((type / 64) % 2 == 1)
			size += 1; /* Face color */
		if ((type / 128) % 2 == 1)
			size += edgeCount; /* Face vertex color */
		return size;
	}