code: @Override
      public SimplePath[] scan(KamNode[] sources) {
          if (noItems(sources)) {
              throw new InvalidArgument("sources", sources);
          }
          if (nulls((Object[]) sources)) {
              throw new InvalidArgument("Source nodes contains null elements");
          }
  
          Kam[] kams = kams(sources);
          if (!sameKAMs(kams)) {
              throw new InvalidArgument("Source KAMs are not equal");
          }
  
          return scan(kams[0], sources);
      }
docs: {@inheritDoc}