this is silly, people are trying to find one solution to two different scenarios.
1. There is enough space to form 1 line, line up behind it and choose the ATM that next becomes available.
2. There is not enough space to form 1 line, so you pick a line and stick with it.
It seems like the OP...