modify fenwick interval