In this way deadly crowds can be prevented