Implement better matching (loop over all jets)