Black dots possible solution/workaround?

David Bluecame's comment: it appears this value can cause black dots with its default value. A value of 0.01 seem to reduce the black dots?  Could the new valuce cause new artifacts?

set(YAF_SHADOW_BIAS 0.01) #changed from 0.0005 to 0.01 to try to reduce black dots problems