Made it possible to change the max range for the pathfinder.