@Override
	public boolean doInsert(DB db, Object threadState) {
		int dbKey = -1;
		int dbIdx = -1;
		for(int i=0; i<userCount; i++){
			if(flags[i] <avgFriendCount/2){
				dbKey = _members.get(i);
				dbIdx = i;
				break;
			}	
		}
		if(dbKey == -1 || dbIdx == -1){
			return true;
		}

		int friendid = -1;
		int friendIdx = -1;
		for(int i=0; i<(avgFriendCount/2); i++){
			friendIdx = (dbIdx+i+1) % userCount;
			
			friendid = _members.get(friendIdx);
			addFriends(db, dbKey,friendid);
			flags[dbIdx] = flags[dbIdx]+1;
		}
		return true;
	}