Along-strike segmentation of the Andean foreland