Optimal segmentation of unbounded functions.