Impose a local limit on path lengths