Fixed a bug where the lung volume arrays were not being resized when slices were added or removed.