Thin and concatenate large MCMC outputs