Limit location's path length.