fixed bootstrapping
fixed negative random number