Added way to use 1D integer datasets for iteration