replace deprecated GeometryUtils.merge