Some small fixes

I fixed 2 things that caused some weird behaviour:
1. partition-all instead of partition to have all items in the rtree
2. change the creation of rtree nodes, so that even small rtrees behave correctly