Changed some parameters for graph traversal;