An adaptive distributed resampling algorithm with non-proportional allocation