fixed group_collapse for zero flux
fixed actual problem in group collapse, which was NaNs