Single‐pass stratified importance resampling. (30th July 2022)