limiting stack size
moved vision functionality to Raster2D