Reampling algorithm ready (basis)