capturing forest paths