Made the method threadsafe by removing static field
Made the method threadsafe by removing static field
Avoided repeated calls to spanning tree by manually flagging ring bonds before starting search