use optimizer.putAndSetWeightsInProportionToLikelihood