fix: read px and py for reweighting