minor change to spike segmentation