A way to prevent pedestrians from walking in locations where there is limited space so that they are not endangered by rogue traffic flow