Stochastic Control for Self-Assembly of {XB}ots