regioncalc: regenerate sample