Tweaking some numbers for better detection accuracy and lower CPU load.