rename from_index, to_index in lower_bound and upper_bound to be compliant with slice documentation