Functions for PPS sampling