ach of those arrays is bounded by |maxNumPaths|. Each element in a
  path is of the form |{ predecessor, edge }|.