Multi-sample comparison using acceptance-rejection Markov trees