Better dimValue handling

Now dim values dont overwrite each others