change sample size based on reserve. improved error significantly