Changed memory management to (somewhat) speed up loading of large datasets; mostly in boundingBox().