uses half the length of the data as bootstrapping sample size