Scan a smaller portion when close, and only do a full scan every 5 seconds.