Fixed resampling when boundary points less than agents.