fix bug with non weighted streams (some md5 errors with weighted and Bi
weighted)