fixed weights in resample (finally?)