Isotonic regression: Another look at the changepoint problem