Add lower_bound and upper_bound methods