size of 3d rasters now correctly set