Seat people in a grid by their preference.