real-time tree 구현.