Using polytree intersection method