I used the BKG barrier correction formula with the same data as above. I getI changed boundary condition as you suggested.
My FDM model and QMC model yield very close result!
s=95,K=90,H=100,t=0.1,sigma=0.2,r=0,monitorfrequency=20
QMC=1.952 (50,000 trials)
FDM=1.951 (2000 steps)
I still have no idea about smin and smax by the way. In this example I just randomly pick smin=50 and smax=150 (so one node in price axis lies exactly on the barrier)
m = 20
S, C
====================
94.95917 1.994772
94.97934 1.992696
94.99951 1.990581
95.01967 1.988427
95.03984 1.986233
My FDM model and QMC model yield very close result!
They could both be a bit off?