fix special case of a single 1D population, which would give errors when clustered