New parameter to specify how much distance is OK