Fix gas particle fill performance issue