# Z Stretches out when adding scalar volumes

**URL:** <https://discourse.slicer.org/t/z-stretches-out-when-adding-scalar-volumes/24605>\
**Category:** Support\
**Created:** [August 2, 2022, 7:05pm UTC](https://discourse.slicer.org/t/z-stretches-out-when-adding-scalar-volumes/24605 "2022-08-02T19:05:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Justin\_Chin](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/justin_chin/32/16153_2.png) [@Justin\_Chin](https://discourse.slicer.org/u/Justin_Chin)\
**Post date:** [August 2, 2022, 7:05pm UTC](https://discourse.slicer.org/t/z-stretches-out-when-adding-scalar-volumes/24605/1 "2022-08-02T19:05:49Z")

</div>

I am currently trying to stitch together multiple microCT volumes and I have transformed the volumes manually to align them alongside creating a reference volume that spans the whole thing. While my sliceview shows the whole volume as correct, when I render, the volume is stretched in the z direction and does not include all of the images I have stitched together. I’m new to slicer and hope you guys can help me. Thanks!

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [August 3, 2022, 6:32am UTC](https://discourse.slicer.org/t/z-stretches-out-when-adding-scalar-volumes/24605/2 "2022-08-03T06:32:59Z")

</div>

@mikebind has created a [module for stitching volumes](https://github.com/mikebind/SlicerSandbox/tree/master/StitchVolumes). You can use this module as is, or get inspiration from it for your own script.
