finding k-item sets