discover recursive structs