Added left and right size argument to position_tree
Fix missing indexing in position_tree
Updated tree test