Made parallel segmentation switchable.