Added distance factor config