Tracking of collapsed bubbles during a filling simulation