optimized bagging table creation, add bigint as nodeId