modify format
binary index tree, draft modified