fixed 2core only bug
ehm investigation in intermediat distr
Fixed weight function, ready to submit batch 3