add fenwick tree