Packing circles: why gh pick the wrong offset side for some circles?

Hi all!, a newbie question: Offset goes to the outer side of circles near the base of this semi-sphere. Why?

Packing circles over surface.gh (33.8 KB)

Packing circles over surface_re.gh (34.2 KB)

Thanks dowazura, it works cool!