fixes to remove compilation warnings. now DOJ works fine with the Voronoi.