Bootstrap algorithms for small samples