fixed graph haywire populating and circular detection stepNo bug