Could you add `lower_bound` and `upper_bound` methods for fenwicktree? or, could I send a pull request to do that?