Why not move there the code in "match left_over" and eliminate the left_over variable entirely?