Check if region is cuboid before calculating size