Modified boostrap method from input data