It may happened due to mode ImageWriteParam.MODE_EXPLICIT.
If the intersection is non-empty, writing will commence with the first subsampled pixel and include additional pixels within the intersected bounds according to the horizontal and vertical subsampling factors specified by IIOParam.setSourceSubsampling.
Use MODE_DEFAULT instead of MODE_EXPLICIT.