Combining posterior samples from multiple subsets