add binary index tree