[LAD] Help with resampling algorithm