bugfixes, recursion number for raster, base shape