It seems that in *rangBN* that scale_fix should be <img src="https://latex.codecogs.com/gif.latex?\frac{1}{2*ln(n)}" title="\frac{1}{2*ln(n)}" />as in paper, but here scale_fix becomes scale_fix = <img src="https://latex.codecogs.com/gif.latex?\frac{(0.5&space;*&space;0.35)&space;*&space;\sqrt{(1&space;+&space;(\pi&space;*&space;ln(4)))}&space;)}{(\sqrt{(2&space;*&space;ln(y.size(-1)))})}" title="\frac{(0.5 * 0.35) * \sqrt{(1 + (\pi * ln(4)))} )}{(\sqrt{(2 * ln(y.size(-1)))})}" />