implemented segmentation volume generation from multiple surfaces