fixed missing semicolon
improved performance of id-finding-algorithm
fixed wrong size of r-tree node