Scale threshold based on distance estimation