work in 3D try catch with bwlabel