rev-by-segment