Int Overflow bugs in TIFFReader/Writer.
For large tiff images (where width * height * pages > maximum value of INT_32), TIFFReader/Writer has int overflow bugs. Specifically, consider for example this line. There will be an int overflow if for example image has following dimesions: width = 3150, height= 2200, pages = 675.
It appears that ITK handles this correctly and casts these variables here when calculating offset.
Due to this but is is what a contour generated from volume containing a simple sphere looks like (notice a hanging piece to the side)