tree: size test is working, fixed a lot of bugs in removal.