 Here, we cannot transform graph A-A-A to (A,A)-A-A, despite the max_depth condition is not restricts it.