engine - maxDuplicates will be at least equal to weight