Setting the correct limit detection parameters.