Possible gas particle missed during feedback when spawning stars
When spawning stars (not transforming gas particles) and displacing them, the variables x_diff
and x_diff_sort
are updated (and the cell's variables too). It means that if the star formation happens before the feedback and the max displacement is increased, it might break the feedback loop.