\hat{B}=\frac{\hat{x}_S-\frac{\hat{p}_S}{\sqrt{km}}}{2}