Spatial effects of controlling security measures in places of mass gathering