update test code to support arbitrary data types, remove an assertion from RTree.h preventing data types of size different from the size of an integer