Meaning of ようにして in this sentence


> 私はわざとＫの室を回避するようにして、こんな風に自分を往来の真中に見出したのです。

I found a few explanations of ようにして but it seems there's multiple meanings
and/or the translation is context-dependent, so I'm not sure exactly how to
translate it here. Here's some of my guesses:

"Making it so that I would avoid K's room" - this seems unlikely

"As if I was intentionally avoiding K's room" - seems better

"Making it a point to avoid K's room" - plausible

"Sort of avoiding K's room" - ???




>
> 「私はわざとＫの室{へや}を回避{かいひ}するようにして、こんな風{ふう}に自分{じぶん}を往来{おうらい}の真中{まなか}に見出{みいだ}したのです。」

I think that the most natural interpretation of the first half would be:

"as if to intentionally avoid K's room"

because I feel it fairly unnatural, in this context, to interpret the
「ように（する）」 to denote a clear (or final) goal/purpose. Rather, it appears to be
used to describe (not so important) a process that leads to the end-result of
the speaker finding himself in the middle of the street.

(As a Japanese-speaker, I am far more interested in the **_second_** half of
this sentence because that is not something a monolingual Japanese-speaker
would say in a natural setting. It sounds as if it were translated from a
European language. I would say that this author was proficient in one.)




>
> 「私はわざとＫの室{へや}を回避{かいひ}するようにして、こんな風{ふう}に自分{じぶん}を往来{おうらい}の真中{まなか}に見出{みいだ}したのです。」

I think that the most natural interpretation of the first half would be:

"as if to intentionally avoid K's room"

because I feel it fairly unnatural, in this context, to interpret the
「ように（する）」 to denote a clear (or final) goal/purpose. Rather, it appears to be
used to describe (not so important) a process that leads to the end-result of
the speaker finding himself in the middle of the street.

(As a Japanese-speaker, I am far more interested in the **_second_** half of
this sentence because that is not something a monolingual Japanese-speaker
would say in a natural setting. It sounds as if it were translated from a
European language. I would say that this author was proficient in one.)

