Parallelized segmentation routines