Made lineexhaust() use random tiebreaker