Regionprops speedup

But it would significantly slow down the whole thing... I would create special cases for 3D and maybe 4D etc. or maybe for 2D and the rest.