corrected path length for recursive algorithm