New script to debug, do not mind the debugging stuff added to specs. Found the bug: there is something fishy with how r-tree handles multiple entries of the same point