added path length to Dbms