Implement distance-filter scaling