Probabilistic modeling of the self-assembly of the 1-dimensional DNA structures