allow sampling multiple histories instead of just one history