Database: fix R-tree bounding box computation
One more function that computes Hilbert coordinates (not used)