uncoupled sample size from range. This breaks bias calculation though so will fix soon