Regionprops speedup