Updated profileParallelSegment macro