updated percentile segmentation, cumsum option
head/tail breaks