Adding BinaryIndexedTree