add fenwick tree select