nd4j.graph.LongPair.addSecond = function(builder, second) {
  builder.addFieldInt64(1, second, builder.createLong(0, 0));
};