try weighted sampling of the matches