update MyGeometryGenerator and all related classes for multi-threading.