Set Oversample Automatically