Gap in terrain corrected S1 data near antimeridian (date-line)

Hi, everyone!

I am proccesing the Sentinel 1 path 1, which is crossing the date-line(or antimeridian). The problem accured during the terrain flattering/correction step.

I split the processing into two parts: eastern and western hemisphere, as suggested in previous posts.

After the processing I have a gap in my output:

Does anyone know how to fox this?