The operator code seems to be able to pack equal top rows into a single row with a combined sample weight.  If so, there should be a test that covers that.