create SPTree