limit history to selected segments