okay good news - I found out what was an issue.

So the custom format seems to be just a little bit shorter in terms of height than group height. It seems there is a 5 px surplus that creates a page break. By adding + 5 px to the group height m i manage to make it work. Well it seems .