Change var_dim to not collapse dimensions not explicitly indexed