A way to minimize pedestrians time crossing so that they do not spend excessive amounts of time on the roadway interacting with flowing traffic