added check to end recursive process once no part of remaining geometry has lon > 180 (otherwise it would translate unprocessed geom pieces above lat 180 or below lat -180 indefinitely because there is no way to get rid of or keep all of a geometry on one side of a line)