fixing genPhoRegion histogram
fixing a mistake in PU reweighting