looks like I figured out a solution to this problem:
at an angle of about 35 degrees you can find the maximum point - 82,1 light year
gravity wells 3 light years. when approaching him from the corner of distance is 4.2 light years
this is the maximum possible distance. what to prove...
thank you all for your help and discussion.