added motif selection via randomized algorithm.