collapse identical features ranges to one