Geometry optimization of unidirectional integrated ring laser