RBM reconstructing